// ITestAidlInterface.aidl
package com.ddd.wandemo;
import com.bean.BookBean;
import com.ddd.wandemo.IOnNewBookListener;
// Declare any non-default types here with import statements

interface ITestAidlInterface {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
            double aDouble, String aString);
    void show(String msg);
    void addBook(in BookBean book);
    String getBook(int id);

    void registerListener(IOnNewBookListener listener);
    void unregisterListener(IOnNewBookListener listener);
}
